600
How can I display the currency only for not empty cells

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Currency")).ComputedField("len(%0) ? currency(dbl(%0)) : ''");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("0");
		com_Items.ItemBackColor(com_Items.AddItem(),WinApi::RGB2int(255,128,128));
		com_Items.AddItem("10000.99");
}
599
Is there a function to display the number of days between two date including the number of hours

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Start")).Width(32);
	exgrid1.Columns().Add("End");
	var_s = "((1:=int(0:= (date(%1)-date(%0)))) != 0 ? (=:1 + ' day(s)') : '') + (=:1 ? ' ' : '' ) + ((1:=int(0:=((=:0 - =:1 + 1/24/60/60/2)*";
	var_s = var_s + "24))) != 0 ? =:1 + ' hour(s) ' : '' ) + ((1:=round((=:0 - =:1)*60)) != 0 ? =:1 + ' min(s)' : '')";
	COM::createFromVariant(exgrid1.Columns().Add("Duration")).ComputedField(var_s);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/11/2001",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		h = com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 12:00:00",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("3/14/2002 13:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("4/11/2003 11:00:00",213)));
}
598
Is there a function to display the number of days between two date including the number of hours

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.Columns().Add("Start");
	exgrid1.Columns().Add("End");
	COM::createFromVariant(exgrid1.Columns().Add("Duration")).ComputedField("\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/11/2001",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("1/14/2001 23:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 12:00:00",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("3/14/2002 13:00:00",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromUtcDateTime(str2Datetime("4/11/2003 11:00:00",213)));
}
597
How can I display the number of days between two dates

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.Columns().Add("Start");
	exgrid1.Columns().Add("End");
	COM::createFromVariant(exgrid1.Columns().Add("Duration")).ComputedField("(date(%1)-date(%0)) + ' days'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("1/11/2001",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("1/14/2001",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("2/22/2002",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("3/14/2002",213)));
		h = com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.CellValue(h,COMVariant::createFromInt(1),COMVariant::createFromDate(str2Date("4/11/2003",213)));
}
596
How can I get second part of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Second")).ComputedField("sec(date(%0))");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:10:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:01:22",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:23:01",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:11:59",213)));
}
595
How can I get minute part of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Minute")).ComputedField("min(date(%0))");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:10:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:01:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:23:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:11:00",213)));
}
594
How can I check the hour part only so I know it was afternoon

public void init()
{
	COM com_ConditionalFormat,com_Items;
	anytype var_ConditionalFormat,var_Items;
	;

	super();

	var_ConditionalFormat = COM::createFromObject(exgrid1.ConditionalFormats()).Add("hour(%0)>=12"); com_ConditionalFormat = var_ConditionalFormat;
	com_ConditionalFormat.Bold(true);
	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Hour")).ComputedField("hour(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
593
What about a function to get the day in the week, or days since Sunday

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("WeekDay")).ComputedField("weekday(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
592
Is there any function to get the day of the year or number of days since January 1st

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Day since January 1st")).ComputedField("yearday(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
591
How can I display only the day of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Day")).ComputedField("day(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/11/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/22/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/13/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/14/2004 13:00:00",213)));
}
590
How can I display only the month of the date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Month")).ComputedField("month(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/2/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/3/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/4/2004 13:00:00",213)));
}
589
How can I get only the year part from a date expression

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Year")).ComputedField("year(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/2/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/3/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/4/2004 13:00:00",213)));
}
588
Can I convert the expression to date

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Date")).ComputedField("date(dbl(%0))");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("30000.99");
		com_Items.AddItem("3561.23");
		com_Items.AddItem("1232.34");
}
587
Can I convert the expression to a number, double or float

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Number + 2")).ComputedField("dbl(%0)+2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("0.99");
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
}
586
How can I display dates in long format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("LongFormat")).ComputedField("longdate(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/2/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/3/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/4/2004 13:00:00",213)));
}
585
How can I display dates in short format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("ShortFormat")).ComputedField("shortdate(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/2/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/3/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/4/2004 13:00:00",213)));
}
584
How can I display the time only of a date expression

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Date");
	COM::createFromVariant(exgrid1.Columns().Add("Time")).ComputedField("'time is:' + time(date(%0))");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("2/2/2002 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("3/3/2003 12:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("4/4/2004 13:00:00",213)));
}
583
Is there any function to display currencies, or money formatted as in the control panel

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Currency")).ComputedField("currency(dbl(%0))");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("10000.99");
}
582
How can I convert the expression to a string so I can look into the date string expression for month's name

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Str")).ComputedField("str(%0) + ' AA'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("0.99");
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
}
581
Can I display the absolute value or positive part of the number

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Abs")).ComputedField("abs(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("0.99");
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
}
580
Is there any function to get largest number with no fraction part that is not greater than the value

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Floor")).ComputedField("floor(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("0.99");
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
}
579
Is there any function to round the values base on the .5 value

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Round")).ComputedField("round(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("0.99");
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
}
578
How can I get or display the integer part of the cell

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Number");
	COM::createFromVariant(exgrid1.Columns().Add("Int")).ComputedField("int(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("-1.98");
		com_Items.AddItem("0.99");
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
}
577
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("")).FormatColumn("proper(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("root");
		com_Items.InsertItem(h,,"child child");
		com_Items.InsertItem(h,,"child child");
		com_Items.InsertItem(h,,"child child");
		com_Items.ExpandItem(h,true);
}
576
Is there any option to display cells in uppercase

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("")).FormatColumn("upper(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Chld 3");
		com_Items.ExpandItem(h,true);
}
575
Is there any option to display cells in lowercase

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("")).FormatColumn("lower(%0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Chld 3");
		com_Items.ExpandItem(h,true);
}
574
How can I display the column using currency format and enlarge the font for certain values

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Currency")); com_Column = var_Column;
		com_Column.Def(17/*exCellValueFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("1.23");
		com_Items.AddItem("2.34");
		com_Items.AddItem("9.94");
		com_Items.AddItem("11.94");
		com_Items.AddItem("1000");
}
573
How can I highlight only parts of the cells

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("")); com_Column = var_Column;
		com_Column.Def(17/*exCellValueFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
572
How can I get the number of occurrences of a specified string in the cell

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgrid1.Columns().Add("");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("occurrences")); com_Column = var_Column;
		com_Column.ComputedField("lower(%0) count 'o'");
		com_Column.FormatColumn("'contains ' + value + ' of \\'o\\' chars'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1 oooof the root");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"Child 3");
		com_Items.ExpandItem(h,true);
}
571
How can I display dates in my format

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Date")); com_Column = var_Column;
		com_Column.Def(17/*exCellValueFormat*/,COMVariant::createFromInt(1));
		com_Column.FormatColumn("'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/21/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/22/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/13/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/24/2004",213)));
}
570
How can I display dates in short format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Date")).FormatColumn("shortdate(value)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/2/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/3/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/4/2004",213)));
}
569
How can I display dates in long format

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Date")).FormatColumn("longdate(value)");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromDate(str2Date("1/1/2001",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("2/2/2002",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("3/3/2003",213)));
		com_Items.AddItem(COMVariant::createFromDate(str2Date("4/4/2004",213)));
}
568
How can I display only the right part of the cell

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgrid1.Columns().Add("");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Right")); com_Column = var_Column;
		com_Column.ComputedField("%0 right 2");
		com_Column.FormatColumn("'\"' + value + '\"'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"SChild 3");
		com_Items.ExpandItem(h,true);
}
567
How can I display only the left part of the cell

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.Columns().Add("");
	COM::createFromVariant(exgrid1.Columns().Add("Left")).ComputedField("%0 left 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.InsertItem(h,,"SChild 3");
		com_Items.ExpandItem(h,true);
}
566
How can I display true or false instead 0 and -1

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Boolean")).FormatColumn("value != 0 ? 'true' : 'false'");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromBoolean(false));
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
}
565
How can I save data on XML format

public void init()
{
	;

	super();

	exgrid1.LoadXML("http://www.exontrol.net/testing.xml");
	exgrid1.SaveXML("c:/temp/exgrid.xml");
}
564
How can I load data on XML format

public void init()
{
	;

	super();

	exgrid1.LoadXML("http://www.exontrol.net/testing.xml");
}
563
I have an EBN file how can I apply different colors to it, so no need to create a new one

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h,hC;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.SelBackColor(exgrid1.BackColor());
	exgrid1.SelForeColor(exgrid1.ForeColor());
	exgrid1.HasLines(0/*exNoLine*/);
	exgrid1.Columns().Add("Default");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		hC = com_Items.InsertItem(h,,"Default");
		com_Items.ItemBackColor(hC,0x1000000);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Light Green");
		com_Items.ItemBackColor(hC,0x100ff00);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Dark Green");
		com_Items.ItemBackColor(hC,0x1007f00);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Magenta");
		com_Items.ItemBackColor(hC,0x1ff7fff);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		hC = com_Items.InsertItem(h,,"Yellow");
		com_Items.ItemBackColor(hC,0x17fffff);
		com_Items.ItemHeight(com_Items.InsertItem(h,,""),6);
		com_Items.ExpandItem(h,true);
}
562
How can I change the background color or the visual appearance using ebn for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(7/*exHeaderBackColor*/,COMVariant::createFromInt(16777216));
		COM::createFromVariant(com_Columns.Add("Column 3")).Def(7/*exHeaderBackColor*/,COMVariant::createFromInt(16777471));
		com_Columns.Add("Column 4");
}
561
How can I change the foreground color for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(8/*exHeaderForeColor*/,COMVariant::createFromInt(8439039));
		com_Columns.Add("Column 3");
}
560
How can I change the background color for a particular column

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		COM::createFromVariant(com_Columns.Add("Column 2")).Def(7/*exHeaderBackColor*/,COMVariant::createFromInt(8439039));
		com_Columns.Add("Column 3");
}
559
Does your control support RightToLeft property for RTL languages or right to left

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgrid1.BeginUpdate();
	exgrid1.ScrollBars(15/*exDisableBoth*/);
	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	exgrid1.RightToLeft(true);
	exgrid1.EndUpdate();
}
558
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	exgrid1.BeginUpdate();
	exgrid1.ScrollBars(15/*exDisableBoth*/);
	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("C1");
		com_Columns.Add("C2");
		com_Columns.Add("C3");
		com_Columns.Add("C4");
		com_Columns.Add("C5");
		com_Columns.Add("C6");
		com_Columns.Add("C7");
		com_Columns.Add("C8");
	exgrid1.RightToLeft(true);
	exgrid1.EndUpdate();
}
557
Can I display the cell's check box after the text

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.Def(34/*exCellDrawPartsOrder*/,"caption,check");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellHasCheckBox(com_Items.AddItem("Caption 1"),COMVariant::createFromInt(0),true);
		com_Items.CellHasCheckBox(com_Items.AddItem("Caption 2"),COMVariant::createFromInt(0),true);
}
556
Can I change the order of the parts in the cell, as checkbox after the text, and so on

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exgrid1.Columns().Add("Column")).Def(34/*exCellDrawPartsOrder*/,"caption,check,icon,icons,picture");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Text");
		com_Items.CellImage(h,COMVariant::createFromInt(0),1);
		com_Items.CellHasCheckBox(h,COMVariant::createFromInt(0),true);
}
555
Can I have an image displayed after the text. Can I get that effect without using HTML content

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exgrid1.Columns().Add("Column")).Def(34/*exCellDrawPartsOrder*/,"caption,icon,check,icons,picture");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Text");
		com_Items.CellImage(h,COMVariant::createFromInt(0),1);
}
554
How can I display the column's header using multiple lines

public void init()
{
	;

	super();

	exgrid1.HeaderHeight(128);
	exgrid1.HeaderSingleLine(false);
	COM::createFromVariant(exgrid1.Columns().Add("This is just a column that should break the header.")).Width(32);
	exgrid1.Columns().Add("This is just another column that should break the header.");
}
553
How can include the values in the inner cells in the drop down filter window

public void init()
{
	COM com_Column,com_Items;
	COMVariant s;
	anytype var_Column,var_Items;
	;

	super();

	exgrid1.DrawGridLines(-2/*exRowLines*/);
	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.Description(1/*exFilterBarBlanks*/,"");
	exgrid1.Description(2/*exFilterBarNonBlanks*/,"");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Single Column")); com_Column = var_Column;
		com_Column.HTMLCaption("Single column with <b>inner cells</b>");
		com_Column.ToolTip("Click the drop down filter button, and the filter list includes the inner cells values too.");
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(64/*exIncludeInnerCells*/);
	exgrid1.ShowFocusRect(false);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		s = com_Items.SplitCell(com_Items.AddItem("S 1.1"),COMVariant::createFromInt(0));
		com_Items.CellValue(,s,"S 1.2");
		com_Items.CellHAlignment(,s,1/*CenterAlignment*/);
		com_Items.CellBackColor(,s,0x1000000);
		com_Items.CellWidth(,s,84);
		s = com_Items.SplitCell(com_Items.AddItem("S 2.1"),COMVariant::createFromInt(0));
		com_Items.CellValue(,s,"S 2.2");
		com_Items.CellHAlignment(,s,1/*CenterAlignment*/);
		com_Items.CellWidth(,s,84);
		s = com_Items.SplitCell(com_Items.AddItem("S 3.1"),COMVariant::createFromInt(0));
		com_Items.CellValue(,s,"S 3.2");
		com_Items.CellHAlignment(,s,1/*CenterAlignment*/);
		com_Items.CellBackColor(,s,0x1000000);
		com_Items.CellWidth(,s,84);
}
552
How can I sort the value gets listed in the drop down filter window

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.MarkSearchColumn(false);
	exgrid1.Description(0/*exFilterBarAll*/,"");
	exgrid1.Description(1/*exFilterBarBlanks*/,"");
	exgrid1.Description(2/*exFilterBarNonBlanks*/,"");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(16/*exSortItemsDesc*/);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("P2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
		com_Column1.FilterList(32/*exSortItemsAsc*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Z3");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"C");
		com_Items.CellValue(com_Items.InsertItem(h,,"Z1"),COMVariant::createFromInt(1),"B");
		com_Items.CellValue(com_Items.InsertItem(h,,"Z2"),COMVariant::createFromInt(1),"A");
		com_Items.ExpandItem(h,true);
}
551
How can I align the text/caption on the scroll bar

public void init()
{
	;

	super();

	exgrid1.ScrollPartCaption(1/*exHScroll*/,512/*exLowerBackPart*/,"left");
	exgrid1.ScrollPartCaptionAlignment(1/*exHScroll*/,512/*exLowerBackPart*/,0/*LeftAlignment*/);
	exgrid1.ScrollPartCaption(1/*exHScroll*/,128/*exUpperBackPart*/,"right");
	exgrid1.ScrollPartCaptionAlignment(1/*exHScroll*/,128/*exUpperBackPart*/,2/*RightAlignment*/);
	exgrid1.ColumnAutoResize(false);
	exgrid1.Columns().Add(1);
	exgrid1.Columns().Add(2);
	exgrid1.Columns().Add(3);
	exgrid1.Columns().Add(4);
	exgrid1.Columns().Add(5);
	exgrid1.Columns().Add(6);
}
550
How do I select the next row/item

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
		com_Items.SelectItem(com_Items.NextVisibleItem(com_Items.FocusItem()),true);
}
549
How do I enable resizing ( changing the height ) the items at runtime

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ItemsAllowSizing(-1/*exResizeItem*/);
	exgrid1.DrawGridLines(1/*exHLines*/);
	exgrid1.ScrollBySingleLine(true);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("Item 1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.AddItem("Item 2"),48);
	exgrid1.Items().AddItem("Item 3");
	exgrid1.Items().AddItem("Item 4");
}
548
How do I enable resizing all the items at runtime

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ItemsAllowSizing(1/*exResizeAllItems*/);
	exgrid1.DrawGridLines(1/*exHLines*/);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("Item 1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.ItemHeight(com_Items.AddItem("Item 2"),48);
	exgrid1.Items().AddItem("Item 3");
}
547
How can I remove the filter
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
	exgrid1.ClearFilter();
}
546
How can I vertically display the column's caption, in the header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("A")).HeaderVertical(true);
	COM::createFromVariant(exgrid1.Columns().Add("B")).HeaderVertical(true);
	COM::createFromVariant(exgrid1.Columns().Add("H")).HeaderVertical(false);
}
545
When I have a column in a grid that is set to having a checkbox, and the grid's singlesel is set to false, I am able to toggle the checkboxes for a while, but lose this functionality eventually. Do you have a tip

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	exgrid1.SingleSel(false);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromBoolean(true));
		com_Items.AddItem(COMVariant::createFromBoolean(false));
		com_Items.AddItem(COMVariant::createFromBoolean(false));
}
544
How do I arrange, format or layout the item on multiple levels or lines, as a subform

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Column5,com_Column6,com_Columns,com_Editor,com_Editor1,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Column5,var_Column6,var_Columns,var_Editor,var_Editor1,var_Items;
	int h0;
	str var_s,var_s1;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	exgrid1.DrawGridLines(-2/*exRowLines*/);
	exgrid1.HeaderVisible(0);
	exgrid1.ItemsAllowSizing(-1/*exResizeItem*/);
	exgrid1.MarkSearchColumn(0);
	exgrid1.ScrollBySingleLine(-1);
	exgrid1.BackColor(WinApi::RGB2int(255,255,255));
	exgrid1.SelBackColor(WinApi::RGB2int(255,255,255));
	exgrid1.SelForeColor(0x80000012);
	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("");
		var_Column = COM::createFromVariant(com_Columns.Add("Column")); com_Column = var_Column;
			com_Column.Visible(false);
			var_Editor = COM::createFromObject(com_Column.Editor()); com_Editor = var_Editor;
			com_Editor.EditType(1/*EditType*/);
		var_Column1 = COM::createFromVariant(com_Columns.Add("Column")); com_Column1 = var_Column1;
			com_Column1.Visible(false);
			var_Editor = COM::createFromObject(com_Column1.Editor()); com_Editor = var_Editor;
			com_Editor.EditType(2/*DropDownType*/);
		var_Column2 = COM::createFromVariant(com_Columns.Add("Column")); com_Column2 = var_Column2;
			com_Column2.Visible(false);
			var_Editor = COM::createFromObject(com_Column2.Editor()); com_Editor = var_Editor;
			com_Editor.EditType(2/*DropDownType*/);
		var_Column3 = COM::createFromVariant(com_Columns.Add("Column")); com_Column3 = var_Column3;
			com_Column3.Visible(false);
			var_Editor = com_Column3.Editor(); com_Editor = var_Editor;
				com_Editor.EditType(19/*CheckValueType*/);
				com_Editor.Option(17/*exCheckValue2*/,COMVariant::createFromInt(1));
		var_Column4 = COM::createFromVariant(com_Columns.Add("Column")); com_Column4 = var_Column4;
			com_Column4.Visible(false);
			var_Editor1 = COM::createFromObject(com_Column4.Editor()); com_Editor1 = var_Editor1;
			com_Editor1.EditType(7/*DateType*/);
		COM::createFromVariant(com_Columns.Add("Column")).Visible(false);
		var_Column5 = COM::createFromVariant(com_Columns.Add("Column")); com_Column5 = var_Column5;
			com_Column5.Visible(false);
			var_Editor1 = COM::createFromObject(com_Column5.Editor()); com_Editor1 = var_Editor1;
			com_Editor1.EditType(2/*DropDownType*/);
		var_Column6 = COM::createFromVariant(com_Columns.Add("Column")); com_Column6 = var_Column6;
			com_Column6.Visible(false);
			com_Column6.Def(16/*exCellSingleLine*/,COMVariant::createFromInt(0));
			var_Editor = com_Column6.Editor();
				com_Editor.EditType(5/*MemoType*/);
				com_Editor.ButtonWidth(17);
				com_Editor.Option(23/*exDownArrow*/,COMVariant::createFromInt(0));
				com_Editor.Option(25/*exEndKey*/,COMVariant::createFromInt(0));
				com_Editor.Option(24/*exHomeKey*/,COMVariant::createFromInt(0));
				com_Editor.Option(20/*exLeftArrow*/,COMVariant::createFromInt(0));
				com_Editor.Option(3/*exMemoAutoSize*/,COMVariant::createFromInt(0));
				com_Editor.Option(2/*exMemoVScrollBar*/,COMVariant::createFromInt(-1));
				com_Editor.Option(27/*exPageDownKey*/,COMVariant::createFromInt(0));
				com_Editor.Option(26/*exPageUpKey*/,COMVariant::createFromInt(0));
				com_Editor.Option(21/*exRightArrow*/,COMVariant::createFromInt(0));
				com_Editor.Option(22/*exUpArrow*/,COMVariant::createFromInt(0));
			com_Column6.Visible(0);
		COM::createFromVariant(com_Columns.Add("Column")).Visible(false);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem("");
		com_Items.CellValue(h0,COMVariant::createFromInt(9),"Dismiss");
		var_s1 = "12;\" \"[b=0][bg=RGB(248,248,248)]/(\" \"[b=0][bg=RGB(248,248,248)]:12,(1;\" \"[b=0]/(\" \"[b=0]:1,(25;(5;\" \"[b=0]/((\"Subject:\"[b=0]:80,";
		var_s1 = var_s1 + "(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,(\" \"[b=0][bg=RGB(255,0,0)]:5,1[b=0]),\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0]";
		var_s1 = var_s1 + "[bg=RGB(0,0,0)]))/1;\" \"[b=0]))/20;(\"Location:\"[b=0]:80,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,2[b=0],\" \"[b=0][bg=";
		var_s1 = var_s1 + "RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]),((\" \"[b=0]:10,\"Label:\"[b=0])):50,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1";
		var_s1 = var_s1 + ",3[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]))/50;(10;\" \"[b=0]/(1;\" \"[b=0][bg=RGB(255,0,0)]/(\"Recurrence:\"[b=0]:";
		var_s1 = var_s1 + "80,\"Occurs every day effective 20/04/2007 from 01:00 to 01:01.\"[b=0])/1;\" \"[b=0][bg=RGB(255,0,0)])/10;\" \"[b=0])/23;(4[b=0]:20,\"R";
		var_s1 = var_s1 + "eminder:\"[b=0]:60,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,5[b=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,";
		var_s1 = var_s1 + "0)]),((\" \"[b=0]:5,6[b=0])):30,((\" \"[b=0]:10,\"Show time as:\"[b=0])):90,(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,7[b=";
		var_s1 = var_s1 + "0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]))/(12;\" \"[b=0]/(1;\" \"[b=0][bg=RGB(0,0,0)]/(\" \"[b=0][bg=RGB(0,0,0)]:1,8[b";
		var_s1 = var_s1 + "=0],\" \"[b=0][bg=RGB(0,0,0)]:1)/1;\" \"[b=0][bg=RGB(0,0,0)]))/35;(5;\" \"[b=0]/(\" \"[b=0],\" \"[b=0],((\" \"[b=0]:40,9[b=0])))/5;\" \"[b=0])";
		var_s1 = var_s1 + "),\" \"[b=0]:1)/1;\" \"[b=0]),\" \"[b=0][bg=RGB(248,248,248)]:12)/12;\" \"[b=0][bg=RGB(248,248,248)]";
		com_Items.CellFormatLevel(h0,COMVariant::createFromInt(0),var_s1);
		com_Items.CellHasCheckBox(h0,COMVariant::createFromInt(4),-1);
		com_Items.CellHasButton(h0,COMVariant::createFromInt(9),-1);
		com_Items.CellHAlignment(h0,COMVariant::createFromInt(9),1/*CenterAlignment*/);
		com_Items.CellVAlignment(h0,COMVariant::createFromInt(8),0/*exTop*/);
		com_Items.CellForeColor(h0,COMVariant::createFromInt(8),WinApi::RGB2int(0,0,0));
		com_Items.CellHasButton(h0,COMVariant::createFromInt(6),true);
		com_Items.CellValue(h0,COMVariant::createFromInt(6),"<img>1</img>");
		com_Items.CellValueFormat(h0,COMVariant::createFromInt(6),1/*exHTML*/);
		com_Items.CellHAlignment(h0,COMVariant::createFromInt(6),1/*CenterAlignment*/);
		com_Items.ItemHeight(h0,296);
}
543
How do I arrange, format or layout the item on multiple levels or lines

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.MarkSearchColumn(false);
	exgrid1.DefaultItemHeight(34);
	COM::createFromVariant(exgrid1.Columns().Add(1)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(2)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(3)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(4)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(5)).Visible(false);
	exgrid1.Columns().Add("General");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(0)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(3),COMVariant::createFromInt(3));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(4),COMVariant::createFromInt(4));
		com_Items.CellFormatLevel(com_Items.DefaultItem(),COMVariant::createFromInt(5),"0,1,2/3,4");
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(5)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(6));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(7));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(3),COMVariant::createFromInt(8));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(4),COMVariant::createFromInt(9));
		com_Items.CellFormatLevel(com_Items.DefaultItem(),COMVariant::createFromInt(5),"3,4/0,1,2");
}
542
How do I arrange, format or layout the column's header on multiple levels or lines

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add(1)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(2)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(3)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(4)).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add(5)).Visible(false);
	exgrid1.HeaderHeight(32);
	COM::createFromVariant(exgrid1.Columns().Add("General")).FormatLevel("0,1,2/3,4");
}
541
How do I arrange, format or layout the item on multiple levels or lines

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Editor,com_Items,com_Items1;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Editor,var_Items,var_Items1;
	int h0;
	str var_s;
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.DefaultItemHeight(53);
	COM::createFromVariant(exgrid1.Columns().Add("EmployeeID")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("LastName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("FirstName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Handler")).Visible(false);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Title")); com_Column = var_Column;
		com_Column.Visible(false);
		com_Column.DisplayFilterButton(-1);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("TitleOfCourtesy")); com_Column1 = var_Column1;
		com_Column1.Visible(false);
		com_Column1.DisplayFilterButton(-1);
	COM::createFromVariant(exgrid1.Columns().Add("BirthDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HideDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Address")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("City")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Region")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("PostCode")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Country")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HomePage")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Extension")).Visible(false);
	var_Column2 = COM::createFromVariant(exgrid1.Columns().Add("Photo")); com_Column2 = var_Column2;
		com_Column2.Visible(false);
		var_Editor = com_Column2.Editor(); com_Editor = var_Editor;
			com_Editor.DropDownVisible(0);
			com_Editor.EditType(11/*PictureType*/);
			com_Editor.Option(52/*exShowPictureType*/,COMVariant::createFromInt(0));
	COM::createFromVariant(exgrid1.Columns().Add("Notes")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("ReportsTo")).Visible(false);
	var_Column3 = COM::createFromVariant(exgrid1.Columns().Add("Personal Info")); com_Column3 = var_Column3;
		com_Column3.Def(32/*exCellFormatLevel*/,"15:54,(2/1/4)");
		com_Column3.FormatLevel("18;18/(15:54,(2/1/4))");
		com_Column3.Width(196);
	var_Column4 = COM::createFromVariant(exgrid1.Columns().Add("General Info")); com_Column4 = var_Column4;
		com_Column4.Def(32/*exCellFormatLevel*/,"(8/18;5):128,((((13/11/12),(6/7/10)),16))");
		com_Column4.FormatLevel("18;19/((8/18;5):128,((((13/11/12),(6/7/10)),16)))");
		com_Column4.Width(512);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.CellValue(h0,COMVariant::createFromInt(1),"Davolio");
		com_Items.CellValue(h0,COMVariant::createFromInt(2),"Nancy");
		com_Items.CellValue(h0,COMVariant::createFromInt(3),COMVariant::createFromInt(0));
		com_Items.CellValue(h0,COMVariant::createFromInt(4),"Sales Representative");
		com_Items.CellValue(h0,COMVariant::createFromInt(5),"Ms.");
		com_Items.CellValue(h0,COMVariant::createFromInt(6),"12/8/1948");
		com_Items.CellValue(h0,COMVariant::createFromInt(7),"5/1/1992");
		com_Items.CellValue(h0,COMVariant::createFromInt(8),"507-20th Ave. \\r\\nE.Apt.  2A");
		com_Items.CellValue(h0,COMVariant::createFromInt(9),"Seattle");
		com_Items.CellValue(h0,COMVariant::createFromInt(10),"WA");
		com_Items.CellValue(h0,COMVariant::createFromInt(11),"98122");
		com_Items.CellValue(h0,COMVariant::createFromInt(12),"USA");
		com_Items.CellValue(h0,COMVariant::createFromInt(13),"(206) 555-9857");
		com_Items.CellValue(h0,COMVariant::createFromInt(14),"5467");
		com_Items.CellValue(h0,COMVariant::createFromInt(15),COM::createFromVariant(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)")));
		var_s = "Education includes a BA in psychology from Colorado State University in 1970.  She also completed \"The Art of the Cold Call.\"  N";
		var_s = var_s + "ancy is a member of ToastmastersInternational.";
		com_Items.CellValue(h0,COMVariant::createFromInt(16),COMVariant::createFromStr(var_s));
		com_Items.CellValue(h0,COMVariant::createFromInt(17),COMVariant::createFromInt(2));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellFormatLevel(com_Items1.FocusItem(),"General Info","15,10,4");
		com_Items1.CellFormatLevel(com_Items1.FocusItem(),"Personal Info","1/2");
}
540
How do I arrange, format or layout the data on multiple levels or lines

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3,com_Column4,com_Editor,com_Items;
	anytype var_Column,var_Column1,var_Column2,var_Column3,var_Column4,var_Editor,var_Items;
	int h0;
	str var_s;
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.DefaultItemHeight(53);
	COM::createFromVariant(exgrid1.Columns().Add("EmployeeID")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("LastName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("FirstName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Handler")).Visible(false);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Title")); com_Column = var_Column;
		com_Column.Visible(false);
		com_Column.DisplayFilterButton(-1);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("TitleOfCourtesy")); com_Column1 = var_Column1;
		com_Column1.Visible(false);
		com_Column1.DisplayFilterButton(-1);
	COM::createFromVariant(exgrid1.Columns().Add("BirthDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HideDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Address")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("City")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Region")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("PostCode")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Country")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HomePage")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Extension")).Visible(false);
	var_Column2 = COM::createFromVariant(exgrid1.Columns().Add("Photo")); com_Column2 = var_Column2;
		com_Column2.Visible(false);
		var_Editor = com_Column2.Editor(); com_Editor = var_Editor;
			com_Editor.DropDownVisible(0);
			com_Editor.EditType(11/*PictureType*/);
			com_Editor.Option(52/*exShowPictureType*/,COMVariant::createFromInt(0));
	COM::createFromVariant(exgrid1.Columns().Add("Notes")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("ReportsTo")).Visible(false);
	var_Column3 = COM::createFromVariant(exgrid1.Columns().Add("Personal Info")); com_Column3 = var_Column3;
		com_Column3.Def(32/*exCellFormatLevel*/,"15:54,(2/1/4)");
		com_Column3.FormatLevel("18;18/(15:54,(2/1/4))");
		com_Column3.Width(196);
	var_Column4 = COM::createFromVariant(exgrid1.Columns().Add("General Info")); com_Column4 = var_Column4;
		com_Column4.Def(32/*exCellFormatLevel*/,"(8/18;5):128,((((13/11/12),(6/7/10)),16))");
		com_Column4.FormatLevel("18;19/((8/18;5):128,((((13/11/12),(6/7/10)),16)))");
		com_Column4.Width(512);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h0 = com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.CellValue(h0,COMVariant::createFromInt(1),"Davolio");
		com_Items.CellValue(h0,COMVariant::createFromInt(2),"Nancy");
		com_Items.CellValue(h0,COMVariant::createFromInt(3),COMVariant::createFromInt(0));
		com_Items.CellValue(h0,COMVariant::createFromInt(4),"Sales Representative");
		com_Items.CellValue(h0,COMVariant::createFromInt(5),"Ms.");
		com_Items.CellValue(h0,COMVariant::createFromInt(6),"12/8/1948");
		com_Items.CellValue(h0,COMVariant::createFromInt(7),"5/1/1992");
		com_Items.CellValue(h0,COMVariant::createFromInt(8),"507-20th Ave. \\r\\nE.Apt.  2A");
		com_Items.CellValue(h0,COMVariant::createFromInt(9),"Seattle");
		com_Items.CellValue(h0,COMVariant::createFromInt(10),"WA");
		com_Items.CellValue(h0,COMVariant::createFromInt(11),"98122");
		com_Items.CellValue(h0,COMVariant::createFromInt(12),"USA");
		com_Items.CellValue(h0,COMVariant::createFromInt(13),"(206) 555-9857");
		com_Items.CellValue(h0,COMVariant::createFromInt(14),"5467");
		com_Items.CellValue(h0,COMVariant::createFromInt(15),COM::createFromVariant(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\sample.bmp`)")));
		var_s = "Education includes a BA in psychology from Colorado State University in 1970.  She also completed \"The Art of the Cold Call.\"  N";
		var_s = var_s + "ancy is a member of ToastmastersInternational.";
		com_Items.CellValue(h0,COMVariant::createFromInt(16),COMVariant::createFromStr(var_s));
		com_Items.CellValue(h0,COMVariant::createFromInt(17),COMVariant::createFromInt(2));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
	exgrid1.PutItems(exgrid1.GetItems(COMVariant::createFromInt(0)));
}
539
How do I arrange, format or layout the column's data on multiple levels or lines

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3;
	anytype var_Column,var_Column1,var_Column2,var_Column3;
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.DefaultItemHeight(68);
	COM::createFromVariant(exgrid1.Columns().Add("EmployeeID")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("LastName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("FirstName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Handler")).Visible(false);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Title")); com_Column = var_Column;
		com_Column.Visible(false);
		com_Column.DisplayFilterButton(-1);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("TitleOfCourtesy")); com_Column1 = var_Column1;
		com_Column1.Visible(false);
		com_Column1.DisplayFilterButton(-1);
	COM::createFromVariant(exgrid1.Columns().Add("BirthDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HideDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Address")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("City")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Region")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("PostCode")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Country")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HomePage")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Extension")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Photo")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Notes")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("ReportsTo")).Visible(false);
	var_Column2 = COM::createFromVariant(exgrid1.Columns().Add("Personal Info")); com_Column2 = var_Column2;
		com_Column2.Def(32/*exCellFormatLevel*/,"18;18/(15:54,(2/1/4))");
		com_Column2.FormatLevel("18;18/(15:54,(2/1/4))");
		com_Column2.Width(196);
	var_Column3 = COM::createFromVariant(exgrid1.Columns().Add("General Info")); com_Column3 = var_Column3;
		com_Column3.Def(32/*exCellFormatLevel*/,"18;19/((8/18;5):128,((((13/11/12),(6/7/10)),16)))");
		com_Column3.FormatLevel("18;19/((8/18;5):128,((((13/11/12),(6/7/10)),16)))");
		com_Column3.Width(512);
	exgrid1.Items().AddItem("");
	exgrid1.Items().AddItem("");
	exgrid1.Items().AddItem("");
	exgrid1.Items().AddItem("");
}
538
How do I arrange, format or layout the column's header on multiple levels or lines

public void init()
{
	COM com_Column,com_Column1,com_Column2,com_Column3;
	anytype var_Column,var_Column1,var_Column2,var_Column3;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("EmployeeID")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("LastName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("FirstName")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Handler")).Visible(false);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Title")); com_Column = var_Column;
		com_Column.Visible(false);
		com_Column.DisplayFilterButton(-1);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("TitleOfCourtesy")); com_Column1 = var_Column1;
		com_Column1.Visible(false);
		com_Column1.DisplayFilterButton(-1);
	COM::createFromVariant(exgrid1.Columns().Add("BirthDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HideDate")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Address")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("City")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Region")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("PostCode")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Country")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("HomePage")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Extension")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Photo")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("Notes")).Visible(false);
	COM::createFromVariant(exgrid1.Columns().Add("ReportsTo")).Visible(false);
	var_Column2 = COM::createFromVariant(exgrid1.Columns().Add("Personal Info")); com_Column2 = var_Column2;
		com_Column2.FormatLevel("18;18/(15:54,(2/1/4))");
		com_Column2.Width(196);
	var_Column3 = COM::createFromVariant(exgrid1.Columns().Add("General Info")); com_Column3 = var_Column3;
		com_Column3.FormatLevel("18;19/((8/18;5):128,((((13/11/12),(6/7/10)),16)))");
		com_Column3.Width(512);
}
537
How can I select a cells like in excel

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.SingleSel(false);
	exgrid1.FullRowSelect(1/*exRectSel*/);
	COM::createFromVariant(exgrid1.Columns().Add("Column1")).Selected(true);
	exgrid1.Columns().Add("Column2");
	COM::createFromVariant(exgrid1.Columns().Add("Column3")).Selected(true);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(0)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(3)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(6)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(7));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(8));
}
536
How can I select a multiple column

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.SingleSel(false);
	exgrid1.FullRowSelect(1/*exRectSel*/);
	COM::createFromVariant(exgrid1.Columns().Add("Column1")).Selected(true);
	exgrid1.Columns().Add("Column2");
	COM::createFromVariant(exgrid1.Columns().Add("Column3")).Selected(true);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(0)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(2));
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(3)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(4));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(5));
		com_Items.DefaultItem(com_Items.AddItem(COMVariant::createFromInt(6)));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(1),COMVariant::createFromInt(7));
		com_Items.CellValue(COMVariant::createFromInt(0),COMVariant::createFromInt(2),COMVariant::createFromInt(8));
	exgrid1.Items().SelectAll();
}
535
How can I select a column

public void init()
{
	COM com_Items,com_Items1;
	anytype var_Items,var_Items1;
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.SingleSel(false);
	exgrid1.FullRowSelect(1/*exRectSel*/);
	COM::createFromVariant(exgrid1.Columns().Add("Column1")).Selected(true);
	exgrid1.Columns().Add("Column2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("One"),COMVariant::createFromInt(1),"One");
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem("Two"),COMVariant::createFromInt(1),"Two");
	exgrid1.Items().SelectAll();
}
534
How can I collapse all cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(64));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Expanded");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.CollapseAllCards();
}
533
How can I expand all cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(64));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Expanded");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandAllCards();
}
532
How can I expand or collapse a card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(64));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Expanded");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
531
How can I format or arrange the data being displayed in the card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.HasButtons(0/*exNoButtons*/);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ItemsAllowSizing(true);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,5/*exCardViewTitleFormat*/,"(\"Title:\",0),1");
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"");
	exgrid1.ViewModeOption(1/*exCardView*/,2/*exCardViewWidth*/,COMVariant::createFromInt(164));
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(18));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
530
How can I format or arrange the data being displayed in the card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ItemsAllowSizing(true);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"(\"ABC\",2)/(0,3,\"DEFGH\")/1/0/1/0/1/1,0[bg=RGB(230,230,230)][fg=RGB(255,0,0)");
	exgrid1.ViewModeOption(1/*exCardView*/,5/*exCardViewTitleFormat*/,"");
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
529
How can I hide the tilte for the cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ItemsAllowSizing(true);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"0/1/0/1/0/1/0/1,0");
	exgrid1.ViewModeOption(1/*exCardView*/,5/*exCardViewTitleFormat*/,"");
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
528
How can I display resizing lines between cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ItemsAllowSizing(true);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,14/*exCardViewVResizeLine*/,COMVariant::createFromBoolean(true));
	exgrid1.ViewModeOption(1/*exCardView*/,15/*exCardViewHResizeLine*/,COMVariant::createFromBoolean(true));
	exgrid1.ViewModeOption(1/*exCardView*/,9/*exCardViewBorderWidth*/,COMVariant::createFromInt(8));
	exgrid1.ViewModeOption(1/*exCardView*/,10/*exCardViewBorderHeight*/,COMVariant::createFromInt(8));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
527
How can edit the text in the card

public void init()
{
	COM com_Editor,com_Items;
	anytype var_Editor,var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(64));
	var_Editor = COM::createFromObject(COM::createFromVariant(exgrid1.Columns().Add("Column 1"))).Editor(); com_Editor = var_Editor;
	com_Editor.EditType(1/*EditType*/);
	var_Editor = COM::createFromObject(COM::createFromVariant(exgrid1.Columns().Add("Column 2"))).Editor(); com_Editor = var_Editor;
	com_Editor.EditType(1/*EditType*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
526
How can I change the height of the card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(64));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
525
How can I display the cards from top to bottom

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,11/*exCardViewLeftToRight*/,COMVariant::createFromBoolean(false));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
524
How do I change the background color for a specified card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
		com_Items.ItemForeColor(com_Items.FocusItem(),WinApi::RGB2int(255,0,0));
}
523
How do I change the visual aspect for a specified card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
		com_Items.ItemBackColor(com_Items.FocusItem(),0x1000000);
}
522
How do I change the background color for a specified card

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
		com_Items.ItemBackColor(com_Items.FocusItem(),WinApi::RGB2int(255,0,0));
}
521
Is there any way to specify the foreground color for the title of the cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,7/*exCardViewTitleForeColor*/,COMVariant::createFromInt(255));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
520
Is there any way to specify the foreground color for all cards, including its title

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ForeColor(WinApi::RGB2int(255,0,0));
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
519
How can I change the visual appearance for all cards, including the title

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.VisualAppearance().Add(2,"c:\\exontrol\\images\\pushed.ebn");
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,8/*exCardViewBackColor*/,COMVariant::createFromInt(16777216));
	exgrid1.ViewModeOption(1/*exCardView*/,6/*exCardViewTitleBackColor*/,COMVariant::createFromInt(33554432));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
518
Is there any way to specify the background color for all cards, including its title

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,8/*exCardViewBackColor*/,COMVariant::createFromInt(255));
	exgrid1.ViewModeOption(1/*exCardView*/,6/*exCardViewTitleBackColor*/,COMVariant::createFromInt(128));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
517
Is there any way to specify the background color for all cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,8/*exCardViewBackColor*/,COMVariant::createFromInt(255));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
516
How can I specify the distance between cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,9/*exCardViewBorderWidth*/,COMVariant::createFromInt(16));
	exgrid1.ViewModeOption(1/*exCardView*/,10/*exCardViewBorderHeight*/,COMVariant::createFromInt(16));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
515
How can I resize the cards at runtime

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ItemsAllowSizing(true);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,14/*exCardViewVResizeLine*/,COMVariant::createFromBoolean(true));
	exgrid1.ViewModeOption(1/*exCardView*/,15/*exCardViewHResizeLine*/,COMVariant::createFromBoolean(true));
	exgrid1.ViewModeOption(1/*exCardView*/,9/*exCardViewBorderWidth*/,COMVariant::createFromInt(8));
	exgrid1.ViewModeOption(1/*exCardView*/,10/*exCardViewBorderHeight*/,COMVariant::createFromInt(8));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
		com_Items.ExpandCard(com_Items.FocusItem(),true);
}
514
How can show the grid lines for my cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
513
How can I hide the +/- expanding / collapsing buttons in the cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.ExpandOnDblClick(false);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
512
How can I hide the +/- expanding / collapsing buttons in the cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.HasButtons(0/*exNoButtons*/);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
511
Is there any way to to specify the number of cards being displayed from letf to right

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,12/*exCardViewColumns*/,COMVariant::createFromInt(3));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
510
Is there any way to to specify the width of the cards, so they fit the control's client area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,2/*exCardViewWidth*/,COMVariant::createFromInt(0));
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.ViewModeOption(1/*exCardView*/,12/*exCardViewColumns*/,COMVariant::createFromInt(2));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
509
Is there any way to to specify the width of the cards, so they fit the control's client area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,2/*exCardViewWidth*/,COMVariant::createFromInt(0));
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
508
Is there any way to to specify the width of the cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,2/*exCardViewWidth*/,COMVariant::createFromInt(64));
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
507
Is there any way to indent the control's data relative to the borders or the frame of the control

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.HeaderVisible(false);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,0/*exBorderWidth*/,COMVariant::createFromInt(8));
	exgrid1.ViewModeOption(1/*exCardView*/,1/*exBorderHeight*/,COMVariant::createFromInt(8));
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
506
Is there any way to indent the control's data relative to the borders or the frame of the control

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.ViewMode(0/*exTableView*/);
	exgrid1.ViewModeOption(0/*exTableView*/,0/*exBorderWidth*/,COMVariant::createFromInt(8));
	exgrid1.ViewModeOption(0/*exTableView*/,1/*exBorderHeight*/,COMVariant::createFromInt(8));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Item 1"),COMVariant::createFromInt(1),"Item 1.1");
		com_Items.CellValue(com_Items.AddItem("Item 2"),COMVariant::createFromInt(1),"Item 1.2");
		com_Items.CellValue(com_Items.AddItem("Item 3"),COMVariant::createFromInt(1),"Item 1.3");
}
505
How can I display my rows or items as a table

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.ViewMode(0/*exTableView*/);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Item 1"),COMVariant::createFromInt(1),"Item 1.1");
		com_Items.CellValue(com_Items.AddItem("Item 2"),COMVariant::createFromInt(1),"Item 1.2");
		com_Items.CellValue(com_Items.AddItem("Item 3"),COMVariant::createFromInt(1),"Item 1.3");
}
504
How can I display my rows as cards

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.ViewMode(1/*exCardView*/);
	exgrid1.ViewModeOption(1/*exCardView*/,4/*exCardViewFormat*/,"1");
	exgrid1.ViewModeOption(1/*exCardView*/,3/*exCardViewHeight*/,COMVariant::createFromInt(36));
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("Card 1"),COMVariant::createFromInt(1),"Card 1.1");
		com_Items.CellValue(com_Items.AddItem("Card 2"),COMVariant::createFromInt(1),"Card 1.2");
		com_Items.CellValue(com_Items.AddItem("Card 3"),COMVariant::createFromInt(1),"Card 1.3");
}
503
How can I avoid focusing a new cell, when user presses an arrow, page, home or end key, while the editor is opened

public void init()
{
	COM com_Editor,com_Items,com_Items1;
	anytype var_Editor,var_Items,var_Items1;
	;

	super();

	exgrid1.DefaultEditorOption(20/*exLeftArrow*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(21/*exRightArrow*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(22/*exUpArrow*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(23/*exDownArrow*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(24/*exHomeKey*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(25/*exEndKey*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(26/*exPageUpKey*/,COMVariant::createFromInt(0));
	exgrid1.DefaultEditorOption(27/*exPageDownKey*/,COMVariant::createFromInt(0));
	var_Editor = COM::createFromObject(COM::createFromVariant(exgrid1.Columns().Add("Edit"))).Editor(); com_Editor = var_Editor;
	com_Editor.EditType(1/*EditType*/);
	var_Editor = COM::createFromObject(COM::createFromVariant(exgrid1.Columns().Add("Edit"))).Editor(); com_Editor = var_Editor;
	com_Editor.EditType(1/*EditType*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(1),COMVariant::createFromInt(1));
	var_Items1 = exgrid1.Items(); com_Items1 = var_Items1;
		com_Items1.CellValue(com_Items1.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(1),COMVariant::createFromInt(3));
}
502
How can I expand predefined items in a drop down list editor as I type

public void init()
{
	COM com_Column,com_Editor,com_Items;
	anytype var_Column,var_Editor,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("DropDown")); com_Column = var_Column;
		com_Column.Def(17/*exCellValueFormat*/,COMVariant::createFromInt(1));
		var_Editor = com_Column.Editor(); com_Editor = var_Editor;
			com_Editor.Option(38/*exExpandOnSearch*/,COMVariant::createFromBoolean(true));
			com_Editor.EditType(3/*DropDownListType*/);
			com_Editor.DropDownAutoWidth(0/*exDropDownEditorWidth*/);
			com_Editor.AddItem(1,"<b>CObject</b> class",COMVariant::createFromInt(1));
			com_Editor.InsertItem(2,"<b>CCmdTarget</b> class",COMVariant::createFromInt(2),COMVariant::createFromInt(1));
			com_Editor.InsertItem(3,"<b>CWnd</b> class",COMVariant::createFromInt(3),COMVariant::createFromInt(2));
			com_Editor.InsertItem(6,"<bgcolor=10A0E0><fgcolor=F0F0F0>S y n c</fgcolor>",COMVariant::createFromInt(1),COMVariant::createFromInt(1));
			com_Editor.AddItem(4,"Exceptions",COMVariant::createFromInt(1));
			com_Editor.InsertItem(7,"<b>System</b> Exceptions",COMVariant::createFromInt(2),COMVariant::createFromInt(4));
			com_Editor.AddItem(5,"File Services",COMVariant::createFromInt(2));
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(2));
}
501
How can I add an extra button to a date picker editor

public void init()
{
	COM com_Editor,com_Items;
	anytype var_Editor,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	exgrid1.DefaultItemHeight(20);
	var_Editor = COM::createFromVariant(exgrid1.Columns().Add("Date")).Editor(); com_Editor = var_Editor;
		com_Editor.EditType(7/*DateType*/);
		com_Editor.AddButton("B1",COMVariant::createFromInt(2),COMVariant::createFromInt(1),"This is a bit of text that's shown when the cursor hovers the button B1");
		com_Editor.ButtonWidth(20);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.AddItem(COMVariant::createFromInt(1));
}